package v1

import (
	"apibe/chat/v1/router"
	"github.com/gin-gonic/gin"
)

// 生产者：消费者

func All(e *gin.Engine) {
	v1 := e.Group("/v1")
	{
		// ws://localhost:8889/v1/ws/chat/roomid/userid
		wsGroup := v1.Group("/ws")
		wsGroup.GET("/chat/:roomid/:userid", router.WsChat)
	}
}
